package com.ryskoo.catering.orderlog.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 订单日志
 * @author BeHappy
 */
@Entity
@Table(name = "cater_order_log")
public class OrderLogPO extends BasicPO {

    private static final long serialVersionUID = -7624214169342505515L;
    /**
     * orderUuid
     */
    @Column(name = "order_uuid", columnDefinition = "char", length = 32)
    private String orderUuid;

    /**
     * 操作员uuid
     */
    @Column(name = "operator_uuid", columnDefinition = "char", length = 32)
    private String operatorUuid;

    /**
     * 操作员
     */
    @Column(name = "operator_name", columnDefinition = "varchar", length = 32)
    private String operatorName;

    /**
     * 操作日志
     */
    @Column(name = "operate_log", columnDefinition = "varchar", length = 100)
    private String operateLog;

    public String getOrderUuid() {
        return orderUuid;
    }

    public void setOrderUuid(String orderUuid) {
        this.orderUuid = orderUuid;
    }

    public String getOperatorUuid() {
        return operatorUuid;
    }

    public void setOperatorUuid(String operatorUuid) {
        this.operatorUuid = operatorUuid;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getOperateLog() {
        return operateLog;
    }

    public void setOperateLog(String operateLog) {
        this.operateLog = operateLog;
    }

    @Override
    public String toString() {
        return "OrderLogPO{" +
                "orderUuid='" + orderUuid + '\'' +
                ", operatorUuid='" + operatorUuid + '\'' +
                ", operatorName='" + operatorName + '\'' +
                ", operateLog='" + operateLog + '\'' +
                '}';
    }
}
